package yl.hs.bmipfull.pojo.laboratory;

import org.springframework.lang.Nullable;
import yl.hs.bmipfull.annotations.DBField;
import yl.hs.bmipfull.annotations.DBTable;
import yl.hs.bmipfull.pojo.BaseEntity;

import java.math.BigDecimal;

/**
 * @author 华砂信息-谢景广
 * @category 生产任务配比明细表实体类
 */
@DBTable(disName = "生产任务配比明细表", mapCode = "task_config_details")
public class TaskConfigDetailsEntity extends BaseEntity {


    private Long id;
    @DBField(disName = "生产任务配比明细表信息编号", mapCode = "sn", isSerialNumber = true, isRequire = true, snPrefix = "TCMX")
    private String sn;
    private String taskConfigSN;
    private String configSN;
    private String rmSN;
    private String rmCate;
    private String rmName;
    private String rmSpec;
    private String brand;
    private String rmCateName;
    @Nullable
    private BigDecimal stander;
    @Nullable
    private BigDecimal production;
    @Nullable
    private BigDecimal waterRatio;
    private String portName;
    private String whSN;
    private String whName;
    private BigDecimal quantity;
    private BigDecimal quantityMax;
    private BigDecimal quantityMin;
    private BigDecimal mistake;
    /**
     * 物料口代码
     */
    private String portCode;
    @Nullable
    private BigDecimal outScale;
    private String sortCode;

    public String getRmCateName() {
        return rmCateName;
    }

    public void setRmCateName(String rmCateName) {
        this.rmCateName = rmCateName;
    }

    public BigDecimal getQuantity() {
        return quantity;
    }

    public void setQuantity(BigDecimal quantity) {
        this.quantity = quantity;
    }

    public BigDecimal getQuantityMax() {
        return quantityMax;
    }

    public void setQuantityMax(BigDecimal quantityMax) {
        this.quantityMax = quantityMax;
    }

    public BigDecimal getQuantityMin() {
        return quantityMin;
    }

    public void setQuantityMin(BigDecimal quantityMin) {
        this.quantityMin = quantityMin;
    }

    public BigDecimal getMistake() {
        return mistake;
    }

    public void setMistake(BigDecimal mistake) {
        this.mistake = mistake;
    }

    /**
     * 获取主键
     *
     * @return
     */
    public Long getId() {
        return this.id;
    }

    /**
     * 设置主键
     *
     * @param id
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取编号
     *
     * @return
     */
    public String getSn() {
        return this.sn;
    }

    /**
     * 设置编号
     *
     * @param sn
     */
    public void setSn(String sn) {
        this.sn = sn;
    }

    /**
     * 获取任务配比编号
     *
     * @return
     */
    public String getTaskConfigSN() {
        return this.taskConfigSN;
    }

    /**
     * 设置任务配比编号
     *
     * @param taskConfigSN
     */
    public void setTaskConfigSN(String taskConfigSN) {
        this.taskConfigSN = taskConfigSN;
    }

    /**
     * 获取配比编号
     *
     * @return
     */
    public String getConfigSN() {
        return this.configSN;
    }

    /**
     * 设置配比编号
     *
     * @param configSN
     */
    public void setConfigSN(String configSN) {
        this.configSN = configSN;
    }

    /**
     * 获取原材编号
     *
     * @return
     */
    public String getRmSN() {
        return this.rmSN;
    }

    /**
     * 设置原材编号
     *
     * @param rmSN
     */
    public void setRmSN(String rmSN) {
        this.rmSN = rmSN;
    }

    /**
     * 获取原材类别
     *
     * @return
     */
    public String getRmCate() {
        return this.rmCate;
    }

    /**
     * 设置原材类别
     *
     * @param rmCate
     */
    public void setRmCate(String rmCate) {
        this.rmCate = rmCate;
    }

    /**
     * 获取原材名称
     *
     * @return
     */
    public String getRmName() {
        return this.rmName;
    }

    /**
     * 设置原材名称
     *
     * @param rmName
     */
    public void setRmName(String rmName) {
        this.rmName = rmName;
    }

    /**
     * 获取原材规格
     *
     * @return
     */
    public String getRmSpec() {
        return this.rmSpec;
    }

    /**
     * 设置原材规格
     *
     * @param rmSpec
     */
    public void setRmSpec(String rmSpec) {
        this.rmSpec = rmSpec;
    }

    /**
     * 获取原材产地
     *
     * @return
     */
    public String getBrand() {
        return this.brand;
    }

    /**
     * 设置原材产地
     *
     * @param brand
     */
    public void setBrand(String brand) {
        this.brand = brand;
    }

    /**
     * 获取标准值
     *
     * @return
     */
    public BigDecimal getStander() {
        return this.stander;
    }

    /**
     * 设置标准值
     *
     * @param stander
     */
    public void setStander(BigDecimal stander) {
        this.stander = stander;
    }

    /**
     * 获取生产值
     *
     * @return
     */
    public BigDecimal getProduction() {
        return this.production;
    }

    /**
     * 设置生产值
     *
     * @param production
     */
    public void setProduction(BigDecimal production) {
        this.production = production;
    }

    /**
     * 获取含水率
     *
     * @return
     */
    public BigDecimal getWaterRatio() {
        return this.waterRatio;
    }

    /**
     * 设置含水率
     *
     * @param waterRatio
     */
    public void setWaterRatio(BigDecimal waterRatio) {
        this.waterRatio = waterRatio;
    }

    /**
     * 获取物料口
     *
     * @return
     */
    public String getPortName() {
        return this.portName;
    }

    /**
     * 设置物料口
     *
     * @param portName
     */
    public void setPortName(String portName) {
        this.portName = portName;
    }

    /**
     * 获取仓库编号
     *
     * @return
     */
    public String getWhSN() {
        return this.whSN;
    }

    /**
     * 设置仓库编号
     *
     * @param whSN
     */
    public void setWhSN(String whSN) {
        this.whSN = whSN;
    }

    /**
     * 获取仓库名称
     *
     * @return
     */
    public String getWhName() {
        return this.whName;
    }

    /**
     * 设置仓库名称
     *
     * @param whName
     */
    public void setWhName(String whName) {
        this.whName = whName;
    }

    public String getPortCode() {
        return portCode;
    }

    public void setPortCode(String portCode) {
        this.portCode = portCode;
    }

    /**
     * 获取下料比例
     *
     * @return
     */
    public BigDecimal getOutScale() {
        return this.outScale;
    }

    /**
     * 设置下料比例
     *
     * @param outScale
     */
    public void setOutScale(BigDecimal outScale) {
        this.outScale = outScale;
    }

    public String getSortCode() {
        return sortCode;
    }

    public void setSortCode(String sortCode) {
        this.sortCode = sortCode;
    }
}
